FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (15 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-HumanName2to3.html
Url http://hl7.org/fhir/StructureMap/HumanName2to3
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name HumanName2to3
Title HumanName Transforms: R2 to R3
Experimental False
Realm uv
Authority hl7
Description HumanNameTransformsR2toR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/HumanName2to3'
/// name = 'HumanName2to3'
/// title = 'HumanName Transforms: R2 to R3'
/// status = 'active'

uses "http://hl7.org/fhir/1.0/HumanName" alias HumanNameR2 as source
uses "http://hl7.org/fhir/3.0/HumanName" alias HumanName as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group HumanName(source src : HumanNameR2, target tgt : HumanName) extends Element <<type+>> {
  src.use -> tgt.use "HumanName-use";
  src.text -> tgt.text "HumanName-text";
  src.family first -> tgt.family "HumanName-family";
  src.family not_first as f ->  tgt.extension as ex,  ex.url = 'http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat',  ex.value = f "HumanName-family-rpt";
  src.given -> tgt.given "HumanName-given";
  src.prefix -> tgt.prefix "HumanName-prefix";
  src.suffix -> tgt.suffix "HumanName-suffix";
  src.period -> tgt.period "HumanName-period";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "HumanName2to3",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/HumanName2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'HumanName2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'HumanName Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/HumanName<span style=\"color: navy\">&quot; </span><b>alias </b>HumanNameR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/HumanName<span style=\"color: navy\">&quot; </span><b>alias </b>HumanName <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>HumanName<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>HumanNameR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>HumanName<span style=\"color: navy\">)</span><b> extends </b>Element<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.use<span style=\"color: navy\"><b> -&gt; </b></span>tgt.use <i>&quot;HumanName-use&quot;</i><span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -&gt; </b></span>tgt.text <i>&quot;HumanName-text&quot;</i><span style=\"color: navy\">;</span>\r\n src.family first<span style=\"color: navy\"><b> -&gt; </b></span>tgt.family <i>&quot;HumanName-family&quot;</i><span style=\"color: navy\">;</span>\r\n src.family not_first<b> as </b><span style=\"color: maroon\">f</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">ex</span><span style=\"color: navy\">, </span> ex.url = <span style=\"color: blue\">'http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat'</span><span style=\"color: navy\">, </span> ex.value = <span style=\"color: maroon\">f</span> <i>&quot;HumanName-family-rpt&quot;</i><span style=\"color: navy\">;</span>\r\n src.given<span style=\"color: navy\"><b> -&gt; </b></span>tgt.given <i>&quot;HumanName-given&quot;</i><span style=\"color: navy\">;</span>\r\n src.prefix<span style=\"color: navy\"><b> -&gt; </b></span>tgt.prefix <i>&quot;HumanName-prefix&quot;</i><span style=\"color: navy\">;</span>\r\n src.suffix<span style=\"color: navy\"><b> -&gt; </b></span>tgt.suffix <i>&quot;HumanName-suffix&quot;</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -&gt; </b></span>tgt.period <i>&quot;HumanName-period&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/HumanName2to3",
  "version" : "0.1.0",
  "name" : "HumanName2to3",
  "title" : "HumanName Transforms: R2 to R3",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "HumanNameTransformsR2toR3",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/1.0/HumanName",
      "mode" : "source",
      "alias" : "HumanNameR2"
    },
    {
      "url" : "http://hl7.org/fhir/3.0/HumanName",
      "mode" : "target",
      "alias" : "HumanName"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*2to3"
  ],
  "group" : [
    {
      "name" : "HumanName",
      "extends" : "Element",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "HumanNameR2",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "HumanName",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "HumanName-use",
          "source" : [
            {
              "context" : "src",
              "element" : "use",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "use",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "HumanName-text",
          "source" : [
            {
              "context" : "src",
              "element" : "text",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "text",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "HumanName-family",
          "source" : [
            {
              "context" : "src",
              "element" : "family",
              "listMode" : "first",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "family",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "HumanName-family-rpt",
          "source" : [
            {
              "context" : "src",
              "element" : "family",
              "listMode" : "not_first",
              "variable" : "f"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "extension",
              "variable" : "ex"
            },
            {
              "context" : "ex",
              "element" : "url",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat"
                }
              ]
            },
            {
              "context" : "ex",
              "element" : "value",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "f"
                }
              ]
            }
          ]
        },
        {
          "name" : "HumanName-given",
          "source" : [
            {
              "context" : "src",
              "element" : "given",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "given",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "HumanName-prefix",
          "source" : [
            {
              "context" : "src",
              "element" : "prefix",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "prefix",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "HumanName-suffix",
          "source" : [
            {
              "context" : "src",
              "element" : "suffix",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "suffix",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "HumanName-period",
          "source" : [
            {
              "context" : "src",
              "element" : "period",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "period",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.